package net.studou.po;

import java.util.Date;

/**
 * Police entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Police implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -6849392079955426781L;
	private Integer policeId;
	private User to;
	private User from;
	private Task task;
	private String reason;
	private String details;
	private String evidence;
	private Date createtime;
	private Integer status;
	private String result;

	// Constructors

	/** default constructor */
	public Police() {
	}

	/** minimal constructor */
	public Police(Integer policeId, User to, User from, Task task,
			String reason, String details, Date createtime, Integer status) {
		this.policeId = policeId;
		this.to = to;
		this.from = from;
		this.task = task;
		this.reason = reason;
		this.details = details;
		this.createtime = createtime;
		this.status = status;
	}

	/** full constructor */
	public Police(Integer policeId, User to, User from, Task task,
			String reason, String details, String evidence, Date createtime,
			Integer status, String result) {
		this.policeId = policeId;
		this.to = to;
		this.from = from;
		this.task = task;
		this.reason = reason;
		this.details = details;
		this.evidence = evidence;
		this.createtime = createtime;
		this.status = status;
		this.result = result;
	}

	// Property accessors

	public Integer getPoliceId() {
		return policeId;
	}

	public void setPoliceId(Integer policeId) {
		this.policeId = policeId;
	}

	public User getTo() {
		return to;
	}

	public void setTo(User to) {
		this.to = to;
	}

	public User getFrom() {
		return from;
	}

	public void setFrom(User from) {
		this.from = from;
	}

	public Task getTask() {
		return this.task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getDetails() {
		return this.details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getEvidence() {
		return this.evidence;
	}

	public void setEvidence(String evidence) {
		this.evidence = evidence;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getResult() {
		return this.result;
	}

	public void setResult(String result) {
		this.result = result;
	}

}